Skip to content
InfratoApp
InfratoApp / Resources / Agent skills / Testing Anti-Patterns

Testing Anti-Patterns

Testing Anti-Patterns is an agent skill published by obra. It lives in the obra/superpowers-skills repository, which has 756 GitHub stars and is licensed under MIT; we last read it on 2026-09-16.

Never test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking.

Install

skills is a generic installer for any repository of Claude agent skills -- it reads obra/superpowers-skills’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.

npx skills add obra/superpowers-skills

Maintenance

Stars
756
State
listed
Licence
MIT
From the repository

Never test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking.

Common questions about Testing Anti-Patterns

What does Testing Anti-Patterns do?
Never test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking.
How do I install Testing Anti-Patterns?
Run npx skills add obra/superpowers-skills. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
Who publishes Testing Anti-Patterns?
obra.
Is Testing Anti-Patterns maintained, and what licence does it use?
Its repository has 756 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2025-10-14. The repository declares the MIT licence.

Learn this on Infrato